Add waf_bypass module for WAF bypass detection#2994
Open
liquidsec wants to merge 10 commits intoblasthttp-integration-cleanfrom
Open
Add waf_bypass module for WAF bypass detection#2994liquidsec wants to merge 10 commits intoblasthttp-integration-cleanfrom
liquidsec wants to merge 10 commits intoblasthttp-integration-cleanfrom
Conversation
Detects WAF bypasses by finding direct IP access to WAF-protected content. Compares response similarity between CDN-proxied and direct-IP requests using simhash. Uses blasthttp resolve_ip for DNS pinning to target IPs.
Contributor
📊 Performance Benchmark Report
📈 Detailed Results (All Benchmarks)
🎯 Performance Summary! 1 regression ⚠️
23 unchanged ✅🔍 Significant Changes (>10%)
🐍 Python Version 3.11.15 |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## blasthttp-integration-clean #2994 +/- ##
============================================================
- Coverage 91% 91% -0%
============================================================
Files 443 445 +2
Lines 37838 37970 +132
============================================================
+ Hits 34261 34347 +86
- Misses 3577 3623 +46 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a new
waf_bypassmodule that detects when WAF-protected web content is directly accessible by IP, bypassing the CDN/WAF layer. Requires #2992 (blasthttp integration).How it works
cdn-cloudflare,cdn-imperva, etc.) on URL eventsresolve_ipto pin DNS to the candidate IP, bypassing the CDNFeatures
resolve_ipfor DNS pinning — no curl subprocess neededConfig options
similarity_threshold— minimum simhash similarity to report a bypass (default: 0.9)search_ip_neighbors— enable IP neighbor scanning (default: true)neighbor_cidr— CIDR prefix length for neighbor scanning (default: 24)Preset
Includes
waf-bypass.ymlpreset for easy activation.